import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import CView from '../views/Ckaifa.vue'
import CtubiaoView from '../views/Ctubiao.vue'
import Cyuce from '../views/Cyuce.vue'
import bingtu from '../views/bingtu.vue'
import zhexiantu from '../views/zhexiantu.vue'
Vue.use(VueRouter)

const routes = [
   {
    path: '/Cyuce',
    name: 'Cyuce',
    component: Cyuce
   },
    {
    path: '/zhexiantu',
    name: 'zhexiantu',
    component: zhexiantu
   },
    {
    path: '/bingtu',
    name: 'bingtu',
    component: bingtu
   },
    {
    path: '/Ckaifa',
    name: 'Ckaifa',
    component: CView
   },
    {
    path: '/Ctubiao',
    name: 'Ctubiao',
    component: CtubiaoView
  },
  {
    path: '/about',
    name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
